package cn.yhbk.web.modules.manager.Pojo.Entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 绩点记录表
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
@ToString
@Getter
@Setter
@TableName("tb_gpa_record")
@ApiModel(value = "TbGpaRecord对象", description = "绩点记录表")
public class TbGpaRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("绩点记录ID")
    @TableId("id")
    private Long id;

    @ApiModelProperty("评定标准ID")
    @TableField("standard_id")
    private Long standardId;

    @ApiModelProperty("备注")
    @TableField("notes")
    private String notes;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("状态")
    @TableField("status")
    private Byte status;

    @ApiModelProperty("干部加分绩点")
    @TableField("cadre_gpa")
    private Double cadreGpa;

    @ApiModelProperty("活动加分绩点")
    @TableField("activity_gpa")
    private Double activityGpa;

    @ApiModelProperty("技能加分绩点")
    @TableField("skill_gpa")
    private Double skillGpa;

    @ApiModelProperty("行为道德加分绩点")
    @TableField("act_gpa")
    private Double actGpa;

    @ApiModelProperty("成绩绩点")
    @TableField("score_gpa")
    private Double scoreGpa;

    @ApiModelProperty("年份")
    @TableField("year")
    private String year;

    @ApiModelProperty("是否挂科")
    @TableField("pass")
    private Boolean pass;

    @ApiModelProperty("学生id")
    @TableField("stu_id")
    private Long stuId;

    @ApiModelProperty("总绩点")
    @TableField("gpa_sum")
    private Double gpaSum;

    @ApiModelProperty("素质绩点")
    @TableField("gpa_quality")
    private Double gpaQuality;
}
